package com.by.goods.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.by.goods.dto.OrderItemDto;
import com.by.goods.mapper.OrderItemMapper;
import com.by.goods.service.OrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderItemServiceImpl extends ServiceImpl<OrderItemMapper, OrderItemDto> implements OrderItemService {

    @Autowired
    OrderItemMapper orderItemMapper;

    @Override
    public List<OrderItemDto> queryGoods() {
        return orderItemMapper.queryGoods();
    }
}
